Subject: Tasks Toolkit Package (PP) Author: Eric Forget Uploaded By: ForgetE Date: 11/19/1995 File: Tasks Toolkit Package.sit (20249 bytes) Estimated Download Time (60658 baud): < 1 minute Download Count: 110 Needs: PowerPlant Keywords: POWERPLANT METROWERKS CLASS LIBRARY FRAMEWORK LIBRARY: MDV/Developer Source Code/C++ KEYWORDS: POWERPLANT METROWERKS CLASS LIBRARY FRAMEWORK Tasks Toolkit Package ===================== PowerPlant manage to execute task only at Idle or at every event. This toolkit will enhance it by allowing you to execute your task with the Time Manager and the Vertical Retrace Manager. Also, you will be able to postpone a task with LDelayedTask and send a notification to the user with LNotificationTask. This package include the base class LTask and the example UWaitCursor. LDelayedTask ------------ LDelayedTask is an abstract class to execute a task after a certain period of time. This class is not really precise: it use TickCount() as time mesure. On another side, you can do about all you want in the ExecuteSelf() method. One example of its use, is to implement a "Find" in a list or table, a la Metrowerks IDE. Each time the user press a key, you call RestartTask(). When the user will not have pressed a key for a determined period, you do the search in the ExecuteSelf() method. LNotificationTask ----------------- LNotificationTask is a wrapper class for the Notification Manager. LTimerTask ---------- LTimerTask is a wrapper class for the Time Manager. It hides all the details for you. LVerticalRetraceTask -------------------- LVerticalRetraceTask is a wrapper class for the Vertical Retrace Manager. It hides all the details for you. ------------------------------------------------------------ Macintosh Developers Forum Libraries Go Keyword: MDV This file has been checked for viruses with Disinfectant 3.6